how to solve a system of equations with infinite many solutions